#include "Rectangle.h"
#include "Square.h"
void Rectangle::convert(Square a) {
	width = a.side;
	height = a.side;
}
int main() {
	Rectangle rect;
	Square sqr(4);
	rect.convert(sqr);
	cout << rect.area();
	system("pause");
	return 0;
}
